package cn.xsly.user.service;

import cn.xsly.user.domain.User;
import cn.xsly.basic.service.IBaseService;
import cn.xsly.user.dto.EmailDto;
import cn.xsly.user.dto.UserDto;

import javax.mail.MessagingException;
import javax.validation.constraints.Email;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Xsly
 * @since 2022-09-13
 */
public interface IUserService extends IBaseService<User> {

    void phoneRegister(UserDto dto);

    void emailRegister(EmailDto dto) throws MessagingException;
}
